package cn.bgs.service.impl;

import cn.bgs.dao.TeacherMapper;
import cn.bgs.pojo.Teacher;
import cn.bgs.service.TeacherService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class TeacherServiceImpl implements TeacherService {

    @Autowired
    private TeacherMapper teacherMapper;


    @Override
    public Teacher findById(Integer id) {
        return teacherMapper.findById(id);
    }
}
